﻿using Stackoverflow.Core.Questions;
using Stackoverflow.EntityFramework.Repositories;
using Stackoverflow.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Stackoverflow.Web.Controllers
{
    public class QuestionController : BaseApiController<Question,QuestionModel,QuestionModel>
    {
        public QuestionController()
            : this(new QuestionRepository())
        { }

        public QuestionController(IQuestionRepository repository): base(repository)
        { 
            
        }
    }
}
